Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
ServicePolicyManager Class Reference

Public Member Functions

void deleteServicePolicy (string, string)
 Delete the service policy that matches policy-map and interface name. More...
 
ServicePolicy getServicePolicy (string, string, string)
 Returns the service-policy that matches policy-map name, mode("interface"/"global") and interface nameIf. More...
 
ServicePolicy getGlobalServicePolicy ()
 Returns the global service-policy. More...
 
ServicePolicy getIntfServicePolicy (string)
 Returns the interface service-policy that matches the interface nameIf. More...
 
ServicePolicy getServicePolicyAt (int)
 Returns the service-policy at a specified index. More...
 
int getServicePolicyCount ()
 Returns the number of service-policy has been configured. More...
 

Member Function Documentation

◆ deleteServicePolicy()

void ServicePolicyManager::deleteServicePolicy ( string  ,
string   
)

Delete the service policy that matches policy-map and interface name.

◆ getGlobalServicePolicy()

ServicePolicy ServicePolicyManager::getGlobalServicePolicy ( )

Returns the global service-policy.

◆ getIntfServicePolicy()

ServicePolicy ServicePolicyManager::getIntfServicePolicy ( string  )

Returns the interface service-policy that matches the interface nameIf.

◆ getServicePolicy()

ServicePolicy ServicePolicyManager::getServicePolicy ( string  ,
string  ,
string   
)

Returns the service-policy that matches policy-map name, mode("interface"/"global") and interface nameIf.

◆ getServicePolicyAt()

ServicePolicy ServicePolicyManager::getServicePolicyAt ( int  )

Returns the service-policy at a specified index.

◆ getServicePolicyCount()

int ServicePolicyManager::getServicePolicyCount ( )

Returns the number of service-policy has been configured.


The documentation for this class was generated from the following file: